<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>自定义过滤器使用</title>
</head>
<body>

    {% for uname in user_list %}
        <p>
            {{ uname }}->
            {% load fomat_name%}
            {{ uname|fmt_uname:1 }}
        </p>
    {% endfor %}


</body>
</html>